<template>
  <div>
    <el-button @click="$router.go(-1)">跳转回去</el-button>
    {{ $route.params }}
  </div>
</template>

<script>
export default {
  name: 'kabout',
  created() {
    console.log('about -----> created----------keep-alive-home')
  },
  mounted() {
    console.log('about -----> mounted 生命周期')
  },
  activated() {
    console.log(
      'about -----> activated： keep-alive 触发的生命周期',
      'activated'
    )
  },
  deactivated() {
    console.log('about -----> deactivated： keep-alive 的销毁生命周期')
  },
  destroyed() {
    console.log('about -----> destroyed： vue组件原有的销毁生命周期')
  },
}
</script>

<style></style>
